NoopToolStreamWriter

No-op ToolStreamWriter — the default on a ToolExecutionContext constructed outside the loop (test fixtures, the approval-resume path before the loop wires a real writer). Drops every write.

Functions

Link copied to clipboard
open suspend override fun write(event: StreamEvent)

Emit any event into the agent's output stream.

Link copied to clipboard
open suspend override fun writeData(value: JsonElement)

Convenience: emit value as a StreamEvent.Raw custom-data chunk.